#include "decrypt.h"

#define MAX_RPT_LEN 10
#define MAX_SENDING_INTEVAL 10
#define GATEWAY_ID 1

typedef struct {
    WrappedData* data;
    int data_len;
    int gateway_id;
} ReportData;

void init_report_data();
void end_report_data();
void print_report(const ReportData* report);
void on_report_receive_data(WrappedData* data);
void on_loop_sending_report();